package com.fafi.spring.test.notification;

import org.springframework.context.ApplicationListener;
import org.springframework.stereotype.Component;

@Component
public class SelfEventListener implements ApplicationListener<SelfEvent> {
	@Override
	public void onApplicationEvent(SelfEvent event) {
		System.out.println("receiver " + event.getMessage());
	}
}
